package edu.hubu.talentmanagementsystem.model.ext;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import edu.hubu.talentmanagementsystem.model.Model;

import java.io.Serializable;

/**
 * <p>
 * 学历
 * </p>
 *
 * @author moonlan
 * @since 2021-03-13
 */
@TableName("educational_degree")
public class EducationalDegree extends Model<EducationalDegree> implements Serializable {


    /**
     * 学历ID
     */
    @TableId(value = "educational_degree_id", type = IdType.AUTO)
    private Integer educationalDegreeId;

    /**
     * 学历名称
     */
    @TableField("educational_degree_name")
    private String educationalDegreeName;

    public Integer getEducationalDegreeId() {
        return educationalDegreeId;
    }

    public EducationalDegree setEducationalDegreeId(Integer educationalDegreeId) {
        this.educationalDegreeId = educationalDegreeId;
        return this;
    }

    public String getEducationalDegreeName() {
        return educationalDegreeName;
    }

    public EducationalDegree setEducationalDegreeName(String educationalDegreeName) {
        this.educationalDegreeName = educationalDegreeName;
        return this;
    }

    @Override
    public String toString() {
        return "EducationalDegree{" +
                "educationalDegreeId=" + educationalDegreeId +
                ", educationalDegreeName=" + educationalDegreeName +
                "}";
    }
}
